package com.project.class4_8.proxyMarke.bean;

public class SaveBean {
    /**商品存储编号*/
    private int id;
    /**商品编号*/
    private String productID;
    /**商品名字*/
    private String name;
    /**商品库存数量*/
    private int number;

    public SaveBean() {
    }

    public SaveBean(String code, String name, int number) {
        this.productID = code;
        this.name = name;
        this.number = number;
    }

    @Override
    public String toString() {
        return "SaveBean{" +
                "id=" + id +
                ", productID='" + productID + '\'' +
                ", name='" + name + '\'' +
                ", number=" + number +
                "\n";
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getProductID() {
        return productID;
    }

    public void setProductID(String productID) {
        this.productID = productID;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }
}
